package com.cropdoctor.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@ApiModel(value = "HistoryImgClsDto",description = "果蔬分类识别历史数据Dto")
@Data
public class HistoryImgClsDto {
    Long idH;

    @ApiModelProperty(value = "得分数组",required = true,example = "[\"0.8713887\",\"0.09484185\",\"0.02024579\",\"0.013269399\",\"0.00013398276\"]")
    List<String> scores;

    @ApiModelProperty(value = "对应果蔬分类名称数组",required = true,example = "[\"甜玉米\",\"玉米\",\"玉米棒\",\"玉米尖\",\"玉米粒\"]")
    List<String> names;

    @ApiModelProperty(value = "查询对应的时间",required = true,example = "2024-01-30 20:59:54")
    LocalDateTime createDateTime;

    @ApiModelProperty(value = "图片地址",required = true)
    String url;
}
